Repository navigation
Add Polygon mainnet deployment support to w3gpt SDK - #1
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
deployContractflow for Polygon mainnet (137) and Polygon Amoy (80002)Why packaging is included
The live
w3gpt@0.1.1tarball contains onlyREADME.mdandpackage.json; its referenceddistentrypoints are absent. The new prepack build prevents a repeat and the verified artifact contains CJS, ESM, and declaration files.Verification
bun install --frozen-lockfilebun run checkbun run tscbun run test(4 passing)bun run build(SDK plus both Next.js apps)npm pack --dry-run --json(6 expected package files)Live smoke
The local SDK reached production
/api/skill, received the required Polygon Amoy confirmation prompt, continued on the samechatId, and invoked the deployment tool. The transaction was not broadcast because the production Amoy RPC returnedMonthly capacity limit exceededateth_getTransactionCount. This is an external production RPC dependency, not an SDK routing failure. No redundant paid mainnet transaction was sent.Release follow-up
After merge, Changesets should open the 0.1.2 version PR. Merge that PR with a valid
NPM_TOKENavailable to Actions to publish the repaired artifact. Repository visibility is currently private and must be changed separately before claiming a public GitHub SDK deliverable.